-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V4.4.3 proposal #6149
V4.4.3 proposal #6149
Conversation
PR-URL: #5989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Convert string concatenation to template literals. Enforce with lint rule. PR-URL: #5778 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Adds a new topic that provides an overview of the event loop, timers, and `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation hosted by @trevnorris: Event Scheduling and the Node.js Event Loop (https://nodesource.com/resources). PR-URL: #4936 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
a few places the code was refactored to use `maybeCallback` which always returns a function. Checking for `if (callback)` always returns true anyway. PR-URL: #5289 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
this adds an example of a long running node process that actually executes node code. Also it mentions the not to harmonic detach behaviours of the different platforms, whereas detaching on unix requires ignoring the child_process' stdio explicitely. PR-URL: #5330 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Original commit message: Unbreak --gdbjit for embedders. Embedders don't use d8.cc. Move gdbjit initialization to api.cc. Review URL: https://codereview.chromium.org/1710253002 Fixes: #2076 PR-URL: #5577 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Event 9 must include the string terminator in the last descriptor. Event 23 must be published with no descriptors, in accordance with the manifest. PR-URL: #5742 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
reduce using RegExp for string test. This pull reuqest replaces various usages of regular expressions in favor of the ES2015 startsWith and endsWith methods. PR-URL: #5753 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Rather than attempting to keep two versions of docs for timers up to date, keep them in timers.markdown, and leave references to them in globals.markdown. Add setImmediate and clearImmediate to globals.markdown. Change "To schedule" to "Schedules" in timers.markdown. PR-URL: #5837 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Currently we use `{}` for the `lookup` function to find the relevant resolver to the dns.resolve function. It is preferable to use an object without a Object.prototype, currently for example you can do something like: ```js dns.resolve("google.com", "toString", console.log); ``` And get `[Object undefined]` logged and the callback would never be called. This is unexpected and strange behavior in my opinion. In addition, if someone adds a property to `Object.prototype` might also create unexpected results. This pull request fixes it, with it an appropriate error is thrown. PR-URL: #5843 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Fix long-broken test-debugger-client by adding missing `\r\n\r\n` separator. PR-URL: #5851 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
The socket list module (used by child_process) currently uses the `var self = this;` pattern for context in several places, this PR replaces this with arrow functions or passing a parameter in where appropriate. Note that the `var self = this` in the _request is intentioanlly left in place since it is not trivial to refactor it and the current pattern isn't bad given the use case. PR-URL: #5860 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Update example of readInt32LE method. buf.readInt32LE(1) is supposed to throw an error as it has only four elements and it tries to read 32 bits from three bytes. Fixes: #5889 PR-URL: #5890 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
parallel/test-dns-cares-domains needs a working internet connection to function (or a local DNS resolver that returns an answer quickly), otherwise it times out. Move it to test/internet. PR-URL: #5905 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #5914 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This change was to add upon the algorithm description of path.format by adding examples for unix systems that clarified behavior in various scenarios. PR-URL: #5838 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
Fixes an issue that prevented scrolling from going past large code blocks on iOS devices. Also fixes a few minor styling issues that came up in the discussion. Fixes: #5861 PR-URL: #5878 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
`test-stdtout-close-unref.js` will fail if `process.stdin._handle` does not exist. On UNIX-like operating systems, you can see this failure this way: ./node test/parallel/test-stdout-close-unref.js < /dev/null This issue has been experienced by @bengl and @drewfish in a Docker container. I'm not sure why they are experiencing it in their environment, but since it is possible that the `_handle` property does not exist, let's use `child_process.spawn()` to make sure it exists. PR-URL: #5916 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
See: atom/node@cba512d PR-URL: #5919 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Introduce two new targets we will populate with actions once merged into all branches we need to support through CI. PR-URL: #5921 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #5879 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
f646235
to
d555f54
Compare
CI is green, RC built without a problem. There was a single failure in the smoker, I spdy-transport /cc @indutny This was only on ubuntu 64 Failures all in --> test/both/transport/connection-test.js I'll dig in more tomorrow |
armv6 didn't build, I've been rebuilding most of the pi's so this will be related, I'm digging in to the problem now and should have it fixed by the time you're ready to go gold |
We might want to add a fix for redis/node-redis#1033. |
@mcollina is there a fix ready? If it is something in the works I don't think there is any reason we couldn't delay this release by a week and do more testing / rc's, there is nothing in this release that is time sensitive |
@thealphanerd A fix is available here: #6164. After that's done we would need to backport and test it on v4.4, but I don't see any major problems in there. I would love to have confirmation from @jfhbrook and a couple of LGTMs, but anyway it's ready. |
@mcollina based on how we currently handle LTS this fix should live in a v5 release for at least a week before we backport to v4. As such I think it would make sense to move forward with this release as planned and get that fix in the next one |
@thealphanerd thanks for clarifying this. Ok for me to follow the process. |
rerunning citgm on spdy-transport https://ci.nodejs.org/job/thealphanerd-smoker/197/ looks good now |
I would too, but we don't have the infrastructure for floating our own patches on deployed versions of node. Like I can ask about it but I'm not holding my breath. |
I very much disagree with this. |
@jfhbrook ... which part do you actually disagree with? We need to make sure the fix itself doesn't cause other regressions before pulling it back into v4. Landing it in v5 first then doing additional testing before pulling it into a v4 release is common at this point. |
If your team can float the patch and test it in production this week I
think it may be a good idea to delay the release a week and release next
Tuesday. We can also get an rc out as soon as that patch lands on master.
Thoughts?
|
@jfhbrook ... I get that but fast tracking fixes in the past has led to other regressions which is why we've tended towards taking a more conservative approach. If we can be reasonably certain that the likelihood of the fix causing other regressions is minimal or non-existent, then we can land it faster. |
@johannhof if we land 4.4.3 today as is I can get an RC with the new patch together with that patch included soon after it lands in master. Would having an official RC be sufficient for your needs? |
Ran citgm on I'm going to assume that the fail was random. I opened an issue on citgm to introduce the ability to stress test so we can better handle this in the future. |
Notable Changes: deps: - Fix `--gdbjit` for embedders. Backported from v8 upstream. (Ben Noordhuis) #5577 etw: - Correctly display descriptors for ETW events 9 and 23 on the windows platform. (João Reis) #5742 querystring: - Restore throw when attempting to stringify bad surrogate pair. (Brian White) #5858
d555f54
to
d7f2bc9
Compare
2016-04-11, Version 4.4.3 'Argon' (LTS), @thealphanerd
Notable Changes
--gdbjit
for embedders. Backported from v8 upstream. (Ben Noordhuis) #5577Commits
f949c273cd
] - assert: Check typed array view type in deepEqual (Anna Henningsen) #5910132acea0d4
] - build: introduce ci targets for lint/benchmark (Johan Bergström) #59219a8f922dee
] - build: add missingopenssl_fips%
to common.gypi (Fedor Indutny) #5919d275cdf202
] - child_process: refactor self=this in socket_list (Benjamin Gruenbaum) #5860aadf356aa2
] - deps: backport 8d00c2c from v8 upstream (Ben Noordhuis) #5577200f763c43
] - deps: completely upgrade npm in LTS to 2.15.1 (Forrest L Norvell) #598986e3903626
] - dns: Use object without protoype for map (Benjamin Gruenbaum) #58439a33f43f73
] - doc: update openssl LICENSE using license-builder.sh (Steven R. Loomis) #60659679e2dc70
] - doc: clarify that __dirname is module local (James M Snell) #601886d2af58d6
] - doc: simple doc typo fix (Brendon Pierson) #6041f16802f3ca
] - doc: note about Android support (Rich Trott) #60408c2befe176
] - doc: note assert.throws() pitfall (Rich Trott) #60290870ac65f2
] - doc: use HTTPS for links where possible (Rich Trott) #601956755de96e
] - doc: clarify stdout/stderr arguments to callback (James M Snell) #6015bb603b89a2
] - doc: add 'Command Line Options' to 'View on single page' (firedfox) #6011c91f3d897a
] - doc: add copy about how to curl SHA256.txt (Myles Borins) #6120f9cf232284
] - doc: add example using algorithms not directly exposed (Brad Hill) #6108f60ce1078d
] - doc: document unspecified behavior for buf.write* methods (James M Snell) #592502401a6cbd
] - doc: fix scrolling on iOS devices (Luigi Pinca) #5878aed22d0855
] - doc: path.format provide more examples (John Eversole) #58386e2bfbe1fd
] - doc: fix doc for Buffer.readInt32LE() (ghaiklor) #5890940d204401
] - doc: consolidate timers docs in timers.markdown (Bryan English) #5837505faf6360
] - doc: refine child_process detach behaviour (Robert Jefe Lindstaedt) #5330feedca7879
] - doc: add topic - event loop, timers,nextTick()
(Jeff Harris) #49366d3822c12b
] - etw: fix descriptors of events 9 and 23 (João Reis) #574256dda6f336
] - fs: Remove unused branches (Benjamin Gruenbaum) #5289dfe9e157c1
] - governance: remove target size for CTC (Rich Trott) #5879c4103b154f
] - lib: refactor code with startsWith/endsWith (Jackson Tian) #575316216a81de
] - meta: add "joining a wg" section to WORKING_GROUPS.md (Matteo Collina) #548865fc4e36ce
] - querystring: don't stringify bad surrogate pair (Brian White) #58584f683ab912
] - src,tools: use template literals (Rich Trott) #5778ac40a4510d
] - test: explicitly set global in test-repl (Rich Trott) #6026a7b3a7533a
] - test: be explicit about polluting ofglobal
(Rich Trott) #601773e3b7b9a8
] - test: make use of globals explicit (Rich Trott) #6014e7877e61b6
] - test: fix flaky test-net-socket-timeout-unref (Rich Trott) #6003a39051f5b3
] - test: make arch available in status files (Santiago Gimeno) #5997ccf90b651a
] - test: fix test-dns.js flakiness (Rich Trott) #59961994ac0912
] - test: add test for piping large input from stdin (Anna Henningsen) #5949cc1aab9f6a
] - test: mitigate flaky test-https-agent (Rich Trott) #593910fe79b809
] - test: fix offending max-len linter error (Sakthipriyan Vairamani) #598063d82960fd
] - test: stdin is not always a net.Socket (Jeremiah Senkpiel) #5935fe0233b923
] - test: add known_issues test for stdout/stderr buffering with TTY #2148 (Rich Trott) #5920d59be4d248
] - test: ensure _handle property existence (Rich Trott) #59169702153107
] - test: fix flaky test-repl (Brian White) #5914a0a2e69097
] - test: move dns test to test/internet (Ben Noordhuis) #59058462d8f465
] - test: fix flaky test-net-socket-timeout (Brian White) #5902e0b283af73
] - test: fix flaky test-http-set-timeout (Rich Trott) #58565853fec36f
] - test: fix test-debugger-client.js (Rich Trott) #5851ea83c382f9
] - test: ensure win32.isAbsolute() is consistent (Brian White) #6043c33a23fd1e
] - tools: fix json doc generation (firedfox) #59436f0bd64122
] - tools,doc: fix incomplete json produced by doctool (firedfox) #5966f7eb48302c
] - win,build: build and test add-ons on test-ci (Bogdan Lobor) #5886